package com.sdut.examonline.common.constant;

/**
 * @author Chen
 * @since 2022/3/5 11:07
 */
public class JwtConstants {

    public static final String HEADER_ACCESS_TOKEN = "Access-Token";

    public static final String HEADER_INTERNAL_TOKEN = "Internal-Token";

    public static final String HEADER_USER_ID = "User-Id";

    public static final String HEADER_USER_NAME = "User-Name";

    public static final String HEADER_USER_ROLE = "User-Role";

    public static final String APPSECRET_KEY = "163e815355e547f29ac617258f6587a4";

    public static final Long EXPIRATION = 1000L * 60L * 60L;

    public static final String USER_ID = "user_id";

    public static final String USER_NAME = "user_name";

    public static final String ROLE = "role";

    public static final String PLATFORM = "platform";

}
